﻿@model IEnumerable<WeberTimeTracker.Models.Time>
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h1>Time Tracker</h1>

<div id="main">
	<table>
		<tr>
			<th>
            Time_ID
            </th>
            <th>
            Project_ID
            </th>
            <th>
            User_ID
            </th>
            <th>
            Hours
            </th>
            <th>
            Date
            </th>
            <th>
            Description
            </th>
		</tr>

	@foreach (var item in Model) {
     <tr>
			<td>
				@item.Time_ID
			</td>
            <td>
				@item.Project_ID
			</td>
			<td>
				@item.User_ID
			</td>
            <td>
				@item.Hours
			</td>
            <td>
				@item.Date
			</td>
            <td>
				@item.Description
			</td>
		</tr>
	}

	</table>   
</div>




